import request from "@/nx/request";

export default {
  // 添加沟通记录
  addComment: (data) => request({
    url: '/crm/comment',
    method: 'POST',
    data,
  }),
  // 获取沟通记录
  getCommentList: () =>request({
    url: '/crm/comment/list',
    method: 'GET',
  }),
  // 获取详细信息
  getCommentDetail: (data) =>request({
    url:'/crm/comment',
    method: 'GET',
    data
  })
}